package com.itbaima.csmall.commons.pojo.cart.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 新增购物车的DTO类
 *
 * @author Chen
 * @since 2023/2/17 11:43:43
 */
@Data
@ApiModel
public class CartAddDTO implements Serializable {

    private static final long serialVersionUID = -7339686217259034053L;
    @ApiModelProperty(value = "商品编号", name = "commodityCode", example = "PC100")
    private String commodityCode;
    @ApiModelProperty(value = "价格", name = "price", example = "50")
    private Integer price;
    @ApiModelProperty(value = "数量", name = "count", example = "2")
    private Integer count;
    @ApiModelProperty(value = "用户ID", name = "userId", example = "UU100")
    private String userId;

}
